<?php


namespace App\Services;


class PasswordService
{
    public static function hash($password)
    {
        return password_hash($password, PASSWORD_ARGON2I);
    }


    public static function verify($password, $passwordHash)
    {
        return password_verify($password, $passwordHash);
    }

}